package model;

import java.sql.Date;


public abstract class Person{
	
	private Long			id;
	private String			name;
	private String			adress;
	private Date			birthDay;
	private Subscription	subscription;
	
	
	public Person( String name, String adress, Date birthDay, Subscription subscription ) {
		super();
		this.name = name;
		this.adress = adress;
		this.birthDay = birthDay;
		this.subscription = subscription;
	}
	
	
	public String getName() {
		return name;
	}
	
	
	public void setName( String name ) {
		this.name = name;
	}
	
	
	public String getAdress() {
		return adress;
	}
	
	
	public void setAdress( String adress ) {
		this.adress = adress;
	}
	
	
	public Date getBirthDay() {
		return birthDay;
	}
	
	
	public void setBirthDay( Date birthDay ) {
		this.birthDay = birthDay;
	}
	
	
	public Subscription getSubscription() {
		return subscription;
	}
	
	
	public void setSubscription( Subscription subscription ) {
		this.subscription = subscription;
	}
	
	
	public Long getId() {
		return id;
	}
	
	
	public void setId( Long id ) {
		this.id = id;
	}
	
}
